﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.TicketTask
{
    public class TeamorGroupinfoMap : IEntityTypeConfiguration<TeamorGroupinfo>
    {
        public void Configure(EntityTypeBuilder<TeamorGroupinfo> builder)
        {
            builder.ToTable("tb_TeamorGroupinfo");
            builder.Property(m => m.Classname).HasComment("班组名称").HasColumnType("varchar(50)");
            builder.Property(m => m.Classencoding).HasComment("班组编码").HasColumnType("varchar(50)");
            builder.Property(m => m.Classtype).HasComment("班组类型").HasColumnType("varchar(50)");
            builder.Property(m => m.Principal).HasComment("负责人").HasColumnType("varchar(50)");
        }
    }
}
